<?php
$this->breadcrumbs=array(
	'Login'=>array('/login'),
	'Lostpassword',
);?>
<h1><?php echo $this->id . '/' . $this->action->id; ?></h1>

<?php $form=$this->beginWidget('CActiveForm', array(
			'id'=>'lostpassword-form',
			'enableClientValidation'=>true,
			'clientOptions'=>array(
			'validateOnSubmit'=>true,
			),
		)); ?>
<?php $form->errorSummary($model);?>
 	     <?php echo $form->error($model,'useremail')?>
		<?php echo $form->labelEx($model,'useremail'); ?>
		<?php echo $form->textField($model,'useremail'); ?>	
	
	<?php echo CHtml::submitButton('Get Password'); ?>
	
<?php $this->endWidget(); ?>
 <?php if(Yii::app()->user->hasFlash('lostpassword'))
        echo Yii::app()->user->getFlash('lostpassword'); ?>
